package com.kai.service.Impl;

import com.kai.dao.SlideShowMapper;
import com.kai.pojo.SlideShow;
import com.kai.service.SlideShowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SlideShowServiceImpl implements SlideShowService {
    @Autowired
    private SlideShowMapper slideShowMapper;
    @Override
    public List<SlideShow> selectAllSlideShow() {
        return slideShowMapper.selectAllSlideShow();
    }

    @Override
    public int updateSlideShow(SlideShow slideShow) {
        return slideShowMapper.updateSlideShow(slideShow);
    }
}
